import request from '@/utils/request'
// 登录接口api
export const reqLogin = (data) => {
  return request({
    method: 'post',
    url: '/sys/login',
    data
  })
}
// 获取个人基本资料的api接口
export const reqGetUserInfo = () => {
  return request({
    method: 'post',
    url: '/sys/profile'
  })
}
// 获取员工基本信息
export const reqGetUserProfile = (id) => {
  return request({
    method: 'get',
    url: `/sys/user/${id}` // 用户id
  })
}

export const logout = () => {

}
